<template>
  <page-header-wrapper>
    <a-card :bordered="false">
      <a-tabs :default-active-key="tabType" @change="tabChange">
        <a-tab-pane :key="1" tab="定时任务配置">
          <jobInfo ref="jobInfo" />
        </a-tab-pane>
        <a-tab-pane :key="2" tab="定时任务日志">
          <jobLog ref="jobLog" />
        </a-tab-pane>
      </a-tabs>
    </a-card>
  </page-header-wrapper>
</template>
<script>
import jobInfo from '../jobInfo/index'
import jobLog from '../jobLog/index'

export default {
  components: {
    jobInfo,
    jobLog
  },
  data() {
    return {
      tabType: 1
    }
  },
  created() {
  },
  methods: {
    tabChange(e) {
      this.tabType = e
    }
  }
}
</script>
